#!/bin/bash
echo "快捷脚本"
usage() {
    echo "Usage: sh $0 [exec]"
    exit 1
}

command="docker exec -it $2 /bin/bash"
echo $command
exec(){
   $command
}


case "$1" in
  "exec")
    exec
    ;;
  *)
    usage
    ;;
esac


